package com.grocery.service.impl;

import com.grocery.bean.User;
import com.grocery.dao.EditprofileDao;
import com.grocery.service.IEditprofileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Editprofile implements IEditprofileService {
    @Autowired
    EditprofileDao editprofileDao;

    @Override
    public int updateUser(String nickname,String tel,String imgurl,int id) {
        return editprofileDao.updateUser(nickname,tel,imgurl,id);
    }
}
